package com.tf_cut.backend.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.tf_cut.backend.agent.vo.AgentAccountDetailVo;
import com.tf_cut.backend.agent.vo.AgentAndAccountVo;

@Repository
public interface AgentAndAccountMapper {
	List<AgentAndAccountVo> findListAgent(AgentAndAccountVo vo);
	List<AgentAccountDetailVo> findDetailAccount(AgentAccountDetailVo vo);

	List<AgentAndAccountVo> qryUnBindAgent(@Param("agentId") String agentId);

	List<AgentAndAccountVo> findAgentAccountwithagentIds(@Param("agentIds") List<String> agentIds);

	int bindAgent(@Param("agentId") String agentId,@Param("bindIds") List<String> agentIds);

	int unBindAgent(@Param("agentId") String agentId);
}
